<?php
/**
 * View  LaFabbrica.org
 * 
 * @author     luigi.pastore (gigi@la-fabbrica.org)
 * @created    15-feb-2012
 * @package    LaFabbrica
 * @copyright  Copyright (c) 2011 Luigi Pastore
 */
?>
<script type="text/javascript">
    //<![CDATA[
    $(document).ready(function() {
     // Cufon
Cufon.replace('h1, h2, h3, h4, h5, h6', { hover: true });
    });
    //]]>
</script>
<script type="text/javascript" src="/js/cufon-yui.js"></script>
<script type="text/javascript" src="/js/cufon-marketingscript.js"></script>
<div class="info">
    Anteprima Post
</div>
<form>
        <ul>
        <li class="paging-context ">
            <table class="pgStyle1 circle2" cellspacing="0">
                <tr>
                    <td class="c">
                        <var>1</var>
                    </td>
                    <td class="t">
                        <b id="pagecircle1"><a href="/admin/posts/info/id/<?php echo $this->post_id ?>">Post</a></b>
                    </td>
                    <td class="c">
                        <var>2</var>
                    </td>
                    <td class="t">
                        <b id="pagecircle2"><a href="/admin/posts/immagine/id/<?php echo $this->post_id ?>">Immagine</a></b>
                    </td>
                    <td class="c selected">
                        <var>3</var>
                    </td>
                    <td class="t selected">
                        <b id="pagecircle2">Anteprima</b>
                    </td>
                </tr>
            </table>
        </li> 
        </ul>
</form>
<div id="article-preview-box">
    <div id="article">

        <h2><?php echo $this->data['post_title'] ?></h2>
        <div class="clr"></div>
        <div class="img"><img class="fl" alt="" src="/uploads/posts/post_<?php echo $this->data['post_id'] ?>.<?php echo $this->data['post_image_ext'] ?>"></div>
<!--        <div class="post_content">-->
            <?php echo $this->data['post_text'] ?>
<!--        </div>-->
        <div class="article-info">
            <span class="icon">&nbsp;</span>

        </div>
        <div class="clr"></div>
        <br class="clear"/>
    </div>
</div>

<div id="formButtons">
    <a href="">
        <button id="salva" type="submit" name="salva" value="salva" class="button positive">
            <img src="/images/admin/tick.png" alt="" />Esci
        </button>
    </a>
</div>